package com.aliyun.messagemgt.converter;

import com.aliyun.messagemgt.dto.SmsQuota;
import com.aliyun.messagemgt.dto.vo.SmsQuotaResponseVO;
import com.aliyun.messagemgt.entities.SmsQuotaEntity;
import com.aliyun.messagemgt.entities.SmsQuotaMsgSourceEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @ClassName: SmsQuotaConverter
 * @Description:
 * @Author: wugongzi
 * @Date: 2021/9/17 16:34
 * @Version: 1.0
 */
@Mapper
public interface SmsQuotaConverter {
    SmsQuotaConverter INSTANCE = Mappers.getMapper(SmsQuotaConverter.class);

    SmsQuota smsQuotaEntity2smsQuota(SmsQuotaEntity smsQuotaEntity);

    List<SmsQuota> smsQuotaEntityList2smsQuotaList(List<SmsQuotaEntity> smsQuotaEntityList);

    List<SmsQuotaResponseVO> smsQuotaMsgSourceEntityList2smsQuotaResponseVOList(List<SmsQuotaMsgSourceEntity> smsQuotaMsgSourceEntityList);
}
